Skip to content

docs: describe sentiment scores for empty input - #814

Open
xiaoyao-666-coder wants to merge 1 commit into
NaturalNode:gh-pagesfrom
xiaoyao-666-coder:docs/sentiment-empty-input
Open

xiaoyao-666-coder wants to merge 1 commit into
NaturalNode:gh-pagesfrom
xiaoyao-666-coder:docs/sentiment-empty-input

Conversation

@xiaoyao-666-coder

Copy link
Copy Markdown

Document the neutral score returned for an empty word array, including empty output from a tokenizer. Add a minimal getSentiment([]) example.

This accompanies #813 and should be merged after the code fix. It targets gh-pages as required by CONTRIBUTING.md.

Validation: checked the example against the fixed analyzer; git diff --check passes.

Prepared with Codex assistance.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant